<div id="footer">
	<p><?=$lang->common->personal_bank_system_of_the_future?></p>
	<p><a href="http://www.taiyilabs.com/" target="_blank"><?=$lang->main->taiyi_site?></a></p>
</div>

<script type="text/javascript" src="/js/jquery.boxy.js"></script>
<script type="text/javascript" src="/js/common.js"></script>
<link rel="stylesheet" type="text/css" href="/css/<?=$l?>/boxy.css" />
<script>
$(function(){
	message();
})
function message(){
	$.getJSON('/message/checknewmessage?stamp='+Math.random(),function(data){
		if(data.data.messagecount == 0){
			$('#messagecount').css('display','none');
		}else{
			$('#messagecount').css('display','block');
		}	
		$('#messagecount').html(data.data.messagecount);		
	});
	setTimeout("message()",30000);    		
}

function alert_logout(){
		
	Boxy.ask('<?=$lang->quit->message1?>', ["<?=$lang->common->yes?>","<?=$lang->common->no?>"], function(val) { 
	
		if(val == '<?=$lang->common->yes?>'){
			Boxy.load('/index/logout?stamp='+Math.random(),{modal:true});
		}

	});
}
function logout(){
	
$.get('/taiyiservice/stop?stamp='+Math.random(),function(){
	
	if(isFirefox=navigator.userAgent.indexOf("Firefox")>0){  
		$('.logout-content').html('<p style="text-align:center"><img src="/images/finish_close.gif"></p><?=$lang->quit->message4?>');
		$.get('/TaiyiService/nginxstop?stamp='+Math.random());		
	}else if(isFirefox=navigator.userAgent.indexOf("Chrome")>0){
		$('.logout-content').html('<p style="text-align:center"><img src="/images/finish_close.gif"></p><?=$lang->quit->message4?>');
		$.get('/TaiyiService/nginxstop?stamp='+Math.random());		
	}else{
		$.get('/TaiyiService/nginxstop?stamp='+Math.random());		
		window.open('','_parent','');
		window.close();
	}	

	
});
}
</script>
<!--<div style="display:none;"><script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F32e8ee2cae110537bb10478d7e449aef' type='text/javascript'%3E%3C/script%3E"));
</script>
</div>
-->

